<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8" />
    <title>HTML accessibility: Task 2</title>
    <link rel="stylesheet" href="../styles.css" />
    <style>
      * {
        box-sizing: border-box;
      }
    </style>

    <style class="editable">
      form {
        width: 400px;
      }

      li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
      }
    </style>
  </head>

  <body>
    <section class="preview">

      <form>
        <ul>
          <li>
            Name
            <input type="text" name="name">
          </li>
          <li>
            Age
            <input type="number" name="age">
          </li>
          <li>
            Email address
            <input type="email" name="email">
          </li>
        </ul>
      </form>

    </section>

    <textarea class="playable playable-css" style="height: 130px;">
form {
  width: 400px;
}

li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
    </textarea>

    <textarea class="playable playable-html" style="height: 220px;">
<form>
  <ul>
    <li>
      Name
      <input type="text" name="name">
    </li>
    <li>
      Age
      <input type="number" name="age">
    </li>
    <li>
      Email address
      <input type="email" name="email">
    </li>
  </ul>
</form>
    </textarea>

    <div class="playable-buttons">
      <input id="reset" type="button" value="Reset" />
    </div>
  </body>
  <script src="../playable.js"></script>
</html>
